package com.xuexiang.xuidemo.ability;

import ohos.aafwk.content.Intent;

import com.xuexiang.xuidemo.slice.BottomSheetAbilitySlice;
import com.xuexiang.xuidemo.slice.DialogAbilitySlice;
import com.xuexiang.xuidemo.slice.DialogStrategyAbilitySlice;
import com.xuexiang.xuidemo.slice.MaterialAbilitySlice;

public class DialogAbility extends BaseStatusAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(DialogAbilitySlice.class.getName());
        addActionRoute(Intent.ACTION_QUERY_WEATHER, DialogStrategyAbilitySlice.class.getName());
        addActionRoute(Intent.ACTION_QUERY_WEATHER, MaterialAbilitySlice.class.getName());
        addActionRoute(Intent.ACTION_QUERY_WEATHER, BottomSheetAbilitySlice.class.getName());
    }
}
